package com.wanxi.zuul.config;

import com.wanxi.zuul.fileter.PermissionFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author:Iny
 * @Data：2021/11/24 15:33
 */
@Configuration
public class ZuulConfig {

    @Bean
    public PermissionFilter myCorsFilter(){
        return new PermissionFilter();
    }
}
